home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / eu1_00.zip / RL.MAN < prev    next >
Text File  |  1992-08-07  |  1KB  |  42 lines

  1.  
  2.         Eldar Utilities Ver.1.00
  3.  
  4.              REPLACE LETTER
  5.  
  6.         (C) Eldar Software, 1991
  7.  
  8.     Replace Letter changes a letter or several letters in
  9. the text file to another letter or letters. RL read this file
  10. from the standard input and output it to standard output. Use
  11. redirection symbols to process files. The only parameter is
  12. the string which contains cuples of symbols: old-symbol - 
  13. new-symbol etc. For example if you want to change all '1' to
  14. '2' and all '/' to '\' then the parameter will be:
  15.  
  16.     RL 12/\
  17.  
  18.     Suppose you want to change all 'a' to 'A', 'b' to 'B',
  19. '(' to '[' and ')' to ']' in file text.1 and save the result in
  20. file text.2. Then the command line should be the next:
  21.  
  22.     RL aAbB([)] <text.1 >text.2
  23.  
  24.     The control codes are presented in a standard way as
  25. '^' with a capital letter, e.g. ^A means code 1, ^J means Line Feed
  26. (code 10) etc. To represent ^, blank and redirection symbols use 
  27. the table:
  28.  
  29.     Symbol        Represented by
  30.     ^        ^^
  31.     <        ^[
  32.     |        ^\
  33.     >        ^]
  34.     blank        ^_
  35.     
  36.     The RL is useful if you need some decoding with unstable
  37. decoding table. For example, if your printer have lost some letter
  38. and you want to change it to similar letter for draft printing. Or
  39. if you have some separators in file and want to change them. 
  40.  
  41.  
  42.